]> dgit.raspbian.org Git - kicad.git/commitdiff
Link with libatomic.
authorPeter Michael Green <plugwash@raspbian.org>
Sun, 31 May 2026 21:34:28 +0000 (21:34 +0000)
committerRaspbian forward porter <root@raspbian.org>
Sun, 31 May 2026 21:34:28 +0000 (21:34 +0000)
Gbp-Pq: Name link-with-libatomic.patch

bitmap2component/CMakeLists.txt
eeschema/CMakeLists.txt
kicad/CMakeLists.txt
qa/tests/eeschema/CMakeLists.txt
qa/tests/gerbview/CMakeLists.txt
qa/tests/pcbnew/CMakeLists.txt
qa/tests/spice/CMakeLists.txt
qa/tools/pcbnew_tools/CMakeLists.txt

index 40d927dfd948907eaebc6359f3d595ee1b7e54f9..99446cf9f75a7baad00cb30b2db986c3986f512e 100644 (file)
@@ -55,6 +55,7 @@ target_link_libraries( bitmap2component
     kicommon
     ${wxWidgets_LIBRARIES}
     potrace
+    atomic
     )
 
 if( APPLE )
index 3f687a6b59f1a3320ad6236d06cf3b9cffb43132..114f45382ecfacd797002d5d36877cd5bb1d9627 100644 (file)
@@ -588,6 +588,7 @@ target_link_libraries( eeschema
     kicommon
     pcm
     ${wxWidgets_LIBRARIES}
+    -latomic
     )
 
 # the main Eeschema program, in DSO form.
index dae7b75fe2a3dee4bbdbf174c47ad3244d728cb8..8767e7e6cc10c5205ab3df8792465bcaadb6e3cf 100644 (file)
@@ -183,6 +183,7 @@ else()
         kicommon
         core
         ${wxWidgets_LIBRARIES}
+        -latomic
         )
 
     target_link_libraries( kicad-cli
index f26eb68f110029cbe6edee8efef5e1ae69a94dd3..7feb48345fc2041b4bfc9c0253b420d1f6bc62c1 100644 (file)
@@ -189,6 +189,7 @@ PRIVATE
     ${GDI_PLUS_LIBRARIES}
     Boost::headers
     Boost::unit_test_framework
+    atomic
 )
 
 # Eeschema tests, so pretend to be eeschema (for units, etc)
index 517504698546ee72531da0bd16f219f61dd62efe..7f338cbffd4cb92b4098d587d711dd7f434bfaf0 100644 (file)
@@ -75,6 +75,7 @@ target_link_libraries( qa_gerbview
     Boost::headers
     Boost::unit_test_framework
     ${PCBNEW_EXTRA_LIBS}    # -lrt must follow Boost
+    atomic
 )
 
 kicad_add_boost_test( qa_gerbview qa_gerbview )
index 9c20c67a6cd6e2266cbc76e9c50d4a3abb01abce..b11cfad0eb0ab25f3eb91ebb81293b37bf4d106d 100644 (file)
@@ -217,6 +217,7 @@ target_link_libraries( qa_pcbnew
     Boost::headers
     Boost::unit_test_framework
     ${PCBNEW_EXTRA_LIBS}    # -lrt must follow Boost
+    atomic
 )
 
 if( WIN32 )
index 2dd23631335cfd8dc6b0174e29220a2aa78f3809..c6b8cedeebb1b03c205a71f648cf1e545a11caaf 100644 (file)
@@ -95,6 +95,7 @@ PRIVATE
     ${GDI_PLUS_LIBRARIES}
     Boost::headers
     Boost::unit_test_framework
+    atomic
 )
 
 if( KICAD_SPICE_QA AND MSVC )
index 588787ecb4215fbde4c7dddf2337158713719e43..bc7e37868901d75b8d0bad47a82a6ee45d90f656 100644 (file)
@@ -67,6 +67,7 @@ target_link_libraries( qa_pcbnew_tools
     ${PYTHON_LIBRARIES}
     Boost::headers
     ${PCBNEW_EXTRA_LIBS}    # -lrt must follow Boost
+    atomic
 )
 
 kicad_add_utils_executable( qa_pcbnew_tools )